﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TemplatePage.Master" AutoEventWireup="true"
    CodeBehind="them-nhan-vien.aspx.cs" Inherits="nhakhoachauau.WebForm7" %>

<%@ Register Src="~/UC/Menu.ascx" TagName="UCMenu" TagPrefix="UCMENU" %>
<%@ Register Src="~/UC/Title.ascx" TagName="UCTitle" TagPrefix="UCTITLE" %>
<%@ Register Src="~/UC/MenuChucNang.ascx" TagName="UCMenuChucNang" TagPrefix="UCMENUCHUCNANG" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <title>THÊM HỒ SƠ BỆNH NHÂN - NHA KHOA CHÂU ÂU</title>
    <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="assets/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="assets/bootstrap/css/bootstrap-fileupload.css" rel="stylesheet" />
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="css/style.css" rel="stylesheet" />
    <link href="css/style-responsive.css" rel="stylesheet" />
    <link href="css/style-default.css" rel="stylesheet" id="style_color" />
    <link href="assets/fancybox/source/jquery.fancybox.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="assets/uniform/css/uniform.default.css" />
    <link rel="stylesheet" type="text/css" href="assets/chosen-bootstrap/chosen/chosen.css" />
    <link rel="stylesheet" type="text/css" href="assets/jquery-tags-input/jquery.tagsinput.css" />
    <link rel="stylesheet" type="text/css" href="assets/clockface/css/clockface.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-wysihtml5/bootstrap-wysihtml5.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-timepicker/compiled/timepicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-colorpicker/css/colorpicker.css" />
    <link rel="stylesheet" href="assets/bootstrap-toggle-buttons/static/stylesheets/bootstrap-toggle-buttons.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-daterangepicker/daterangepicker.css" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" runat="server">
    <script src="js/jquery-1.8.2.min.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
    <script type="text/javascript" src="assets/ckeditor/ckeditor.js"></script>
    <script src="assets/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="assets/bootstrap/js/bootstrap-fileupload.js"></script>
    <script src="js/jquery.blockui.js"></script>
    <!-- ie8 fixes -->
    <!--[if lt IE 9]>
   <script src="js/excanvas.js"></script>
   <script src="js/respond.js"></script>
   <![endif]-->
    <script type="text/javascript" src="assets/bootstrap-toggle-buttons/static/js/jquery.toggle.buttons.js"></script>
    <script type="text/javascript" src="assets/chosen-bootstrap/chosen/chosen.jquery.min.js"></script>
    <script type="text/javascript" src="assets/uniform/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="assets/bootstrap-wysihtml5/wysihtml5-0.3.0.js"></script>
    <script type="text/javascript" src="assets/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script>
    <script type="text/javascript" src="assets/clockface/js/clockface.js"></script>
    <script type="text/javascript" src="assets/jquery-tags-input/jquery.tagsinput.min.js"></script>
    <script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="assets/bootstrap-daterangepicker/date.js"></script>
    <script type="text/javascript" src="assets/bootstrap-daterangepicker/daterangepicker.js"></script>
    <script type="text/javascript" src="assets/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
    <script type="text/javascript" src="assets/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
    <script type="text/javascript" src="assets/bootstrap-inputmask/bootstrap-inputmask.min.js"></script>
    <script src="assets/fancybox/source/jquery.fancybox.pack.js"></script>
    <!--com.mon script for all pages-->
    <script src="js/common-scripts.js"></script>
    <!--script for this page-->
    <script src="js/form-component.js"></script>
    <script src="js/form-validation-script.js"></script>
    <script type="text/javascript">
        function divHidden(id, checkisDangNhap) {

            var tempcheck = document.getElementById(checkisDangNhap);
            var temp = document.getElementById(id);
            if (tempcheck.checked == true) {
                temp.style.visibility = "visible";
                temp.outerHTML = " <div class=\"control-group \" id=\"divMatKhau\"><label for=\"cname\" class=\"control-label\"> Mật khẩu (*)</label><div class=\"controls\"><input class=\"span6 \" id=\"txtMatKhau\" name=\"name\" minlength=\"2\" type=\"password\" required /></div></div>";
            }
            else {
                temp.style.visibility = "hidden";
                temp.outerHTML = " <div class=\"control-group \" id=\"divMatKhau\"></div>";
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <UCMENU:UCMenu runat="server" ID="ucmenu1" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="row-fluid">
        <div class="span12">
            <div id="theme-change" class="hidden-phone">
                <i class="icon-cogs"></i><span class="settings"><span class="text">Theme Color:</span>
                    <span class="colors"><span class="color-default" data-style="default"></span><span
                        class="color-green" data-style="green"></span><span class="color-gray" data-style="gray">
                        </span><span class="color-purple" data-style="purple"></span><span class="color-red"
                            data-style="red"></span></span></span>
            </div>
            <h3 class="page-title">
                THÊM NHÂN VIÊN
            </h3>
            <ul class="breadcrumb">
                <li><a href="default.aspx">TRANG CHỦ</a> <span class="divider">/</span> </li>
                <li><a href="default.aspx">QUẢN LÝ NHÂN VIÊN</a></li>
                <li class="pull-right search-wrap">
                    <form action="" class="hidden-phone">
                    <div class="input-append search-input-area">
                        <input class="" id="appendedInputButton" type="text">
                        <button class="btn" type="button">
                            <i class="icon-search"></i>
                        </button>
                    </div>
                    </form>
                </li>
            </ul>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <!-- BEGIN VALIDATION STATES-->
            <div class="widget yellow">
                <div class="widget-title">
                    <h4>
                        <i class="icon-reorder"></i>Thêm nhân viên</h4>
                    <div class="tools">
                        <a href="javascript:;" class="collapse"></a><a href="#portlet-config" data-toggle="modal"
                            class="config"></a><a href="javascript:;" class="reload"></a><a href="javascript:;"
                                class="remove"></a>
                    </div>
                </div>
                <div class="widget-body form">
                    <!-- BEGIN FORM-->
                    <%--<form class="cmxform form-horizontal"id="commentForm" method="post" >
--%>                    <div class="control-group">
                        <label class="control-label">
                            Mã NV (*)</label>
                        <div class="controls">
                            <input class="span6 " type="text" placeholder="" disabled id="txtMaNV" runat="server"/>
                            <span class="help-inline"></span>
                        </div>
                    </div>
                    <div class="control-group ">
                        <label for="cname" class="control-label">
                            Họ tên (*)</label>
                        <div class="controls">
                            <input class="span6 " id="txtHoTen" runat="server" name="name" minlength="2" type="text" required />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            Chức vụ (*)</label>
                        <div class="controls">
                            <select id="ddlChucVu" runat="server" class="span6 chzn-select" data-placeholder="Chọn chức vụ cho nhân viên" tabindex="1">
                                <%--<option value=""></option>--%>
                                <option value="4">Bác sỹ</option>
                                <option value="2">Phụ tá</option>
                                <option value="3">Kế toán</option>
                                <option value="1">Tiếp tân</option>
                                <option value="6">Bảo vệ</option>
                            </select>
                        </div>
                    </div>
                    <div class="control-group ">
                        <label for="cname" class="control-label">
                            Điện thoại(*)</label>
                        <div class="controls">
                            <input class="span6 " id="txtDienThoai" name="name" minlength="2" type="text" required runat="server"/>
                        </div>
                    </div>
                    <div class="control-group ">
                        <label for="cname" class="control-label">
                            Địa chỉ (*)</label>
                        <div class="controls">
                            <input class="span6 " id="txtDiaChi" name="name" minlength="2" type="text" required runat="server"/>
                        </div>
                    </div>
                    <div class="control-group ">
                        <label for="cname" class="control-label">
                            CMND (*)</label>
                        <div class="controls">
                            <input class="span6 " id="txtCMND" name="name" minlength="2" type="text" required runat="server"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            Năm sinh</label>
                        <div class="controls">
                            <div class="input-append date" id="dpYears" data-date="15/11/1991" data-date-format="dd-mm-yyyy"
                                data-date-viewmode="years">
                                <input class="m-ctrl-medium" size="16" style="width:100px;" type="text" value="15/11/1991" readonly="readonly" id="txtNgaySinh" runat="server"/>
                                <span class="add-on"><i class="icon-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            Giới tính (*)</label>
                        <div class="controls">
                            <div id="text-toggle-button">
                                <input type="checkbox" id="cbGioiTinh" runat="server" />
                            </div>
                        </div>
                    </div>
                    <div class="form-actions">
                        <div class="control-group">
                            <label class="control-label" style="width: 300px">
                                Đăng nhập hệ thống?</label>
                            <div class="controls">
                                <div id="normal-toggle-button">
                                    <input type="checkbox" clientidmode=Static checked="checked" id="checkIsDangNhap" onchange="javascript:divHidden('divMatKhau', 'checkIsDangNhap');" runat="server"/>
                                </div>
                        </div>
                        <div class="control-group " id="divMatKhau">
                            <label for="cname" class="control-label">
                                Mật khẩu (*)</label>
                            <div class="controls">
                                <input class="span6 " id="txtMatKhau" runat="server" name="name" minlength="2" type="password" required />
                            </div>
                        </div>
                        
                       
                    </div>
                    <div class="form-actions">
                        <%--<button class="btn btn-success" type="submit">
                            Save</button>--%>
                        <asp:Button ID="btnThemNhanVien" runat="server" Text="Save" 
                            CssClass="btn btn-success" onclick="btnThemNhanVien_Click" BorderStyle="None" />
                        <button class="btn" type="button">
                            Cancel</button>
                    </div>
                    <%--</form>--%>
                    <!-- END FORM-->
                </div>
            </div>
            <!-- END VALIDATION STATES-->
        </div>
    </div>
</asp:Content>
